package com.caiyigo.baihua.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "kaoshicj")
public class Kaoshicj implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer ksId;
	private String ksFasong;
	private String ksKemu;
	private String ksYuanyin;
	private String ksAddtime;
	private String ksPici;
	private String ksKemuName;
	private String ksXsName;
	private String ksXsZkz;
	private String ksXsMobile;
	private String cjfs;
	private String ksXsSshm;
	private String message;

	@Transient
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@Column(name = "ks_xs_sshm", length = 20)
	public String getKsXsSshm() {
		return ksXsSshm;
	}

	public void setKsXsSshm(String ksXsSshm) {
		this.ksXsSshm = ksXsSshm;
	}

	/** default constructor */
	public Kaoshicj() {
	}

	/** full constructor */
	public Kaoshicj(String ksFasong, String ksKemu, String ksYuanyin,
			String ksAddtime, String ksPici, String ksKemuName,
			String ksXsName, String ksXsZkz, String ksXsMobile, String cjfs) {
		this.ksFasong = ksFasong;
		this.ksKemu = ksKemu;
		this.ksYuanyin = ksYuanyin;
		this.ksAddtime = ksAddtime;
		this.ksPici = ksPici;
		this.ksKemuName = ksKemuName;
		this.ksXsName = ksXsName;
		this.ksXsZkz = ksXsZkz;
		this.ksXsMobile = ksXsMobile;
		this.cjfs = cjfs;
	}

	@GenericGenerator(name = "generator", strategy = "increment")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ksId", unique = true, nullable = false)
	public Integer getKsId() {
		return this.ksId;
	}

	public void setKsId(Integer ksId) {
		this.ksId = ksId;
	}

	@Column(name = "ksFasong", length = 10)
	public String getKsFasong() {
		return this.ksFasong;
	}

	public void setKsFasong(String ksFasong) {
		this.ksFasong = ksFasong;
	}

	@Column(name = "ksKemu", length = 20)
	public String getKsKemu() {
		return this.ksKemu;
	}

	public void setKsKemu(String ksKemu) {
		this.ksKemu = ksKemu;
	}

	@Column(name = "ksYuanyin", length = 10)
	public String getKsYuanyin() {
		return this.ksYuanyin;
	}

	public void setKsYuanyin(String ksYuanyin) {
		this.ksYuanyin = ksYuanyin;
	}

	@Column(name = "ksAddtime", length = 50)
	public String getKsAddtime() {
		return this.ksAddtime;
	}

	public void setKsAddtime(String ksAddtime) {
		this.ksAddtime = ksAddtime;
	}

	@Column(name = "ks_pici", length = 20)
	public String getKsPici() {
		return this.ksPici;
	}

	public void setKsPici(String ksPici) {
		this.ksPici = ksPici;
	}

	@Column(name = "ks_kemu_name", length = 50)
	public String getKsKemuName() {
		return this.ksKemuName;
	}

	public void setKsKemuName(String ksKemuName) {
		this.ksKemuName = ksKemuName;
	}

	@Column(name = "ks_xs_name", length = 80)
	public String getKsXsName() {
		return this.ksXsName;
	}

	public void setKsXsName(String ksXsName) {
		this.ksXsName = ksXsName;
	}

	@Column(name = "ks_xs_zkz", length = 50)
	public String getKsXsZkz() {
		return this.ksXsZkz;
	}

	public void setKsXsZkz(String ksXsZkz) {
		this.ksXsZkz = ksXsZkz;
	}

	@Column(name = "ks_xs_mobile", length = 50)
	public String getKsXsMobile() {
		return this.ksXsMobile;
	}

	public void setKsXsMobile(String ksXsMobile) {
		this.ksXsMobile = ksXsMobile;
	}

	@Column(name = "cjfs", length = 10)
	public String getCjfs() {
		return this.cjfs;
	}

	public void setCjfs(String cjfs) {
		this.cjfs = cjfs;
	}

}